/**
 * 
 */
package com.nari.heatshare.action;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.commons.io.IOUtils;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.struts2.json.annotations.JSON;

import com.nari.baseinfo.model.IBuilding;
import com.nari.baseinfo.model.ICommunity;
import com.nari.baseinfo.model.IProject;
import com.nari.baseinfo.service.IBuildingService;
import com.nari.baseinfo.service.ICommunityService;
import com.nari.baseinfo.service.IProjectService;
import com.nari.coreframe.action.struts2.JSONActionSupport;
import com.nari.heatshare.model.ITemperaturePoint;
import com.nari.heatshare.model.ITemperaturePointDataGather;
import com.nari.heatshare.service.ITemperaturePointDataGatherService;
import com.nari.heatshare.service.ITemperaturePointService;
import com.nari.heatshare.utils.queryvo.TempPointDataCustomizedQuery;
import com.nari.platform.date.CalendarConstants;
import com.nari.platform.date.CalendarUtils;
import com.nari.platform.model.PageCond;
import com.nari.platform.model.ResultWithPageCond;
import com.sohoometer.web.erp.utils.CollectionsUtils;
import com.sohoometer.web.excel.ExcelExportUtils;

/**
 * 
 * @author Xiaopeng
 * @date 2014-3-14
 */
public class TemperaturePointDataGatherAction extends JSONActionSupport {
	private static final long serialVersionUID = -4761845519693097525L;
	private ITemperaturePointDataGatherService iTemperaturePointDataGatherService;
	private ITemperaturePointService iTemperaturePointService;
	private IProjectService iProjectService;
	private ICommunityService iCommunityService;
	private IBuildingService iBuildingService;
	//温度点数据定制查询
	private List<IProject> projectList;
	private List<ICommunity> communityList;
	private List<IBuilding> buildingList;
	private String projectUID;
	private String communityUID;
	private String buildingUID;
	private Date recordTimeStart;
	private Date recordTimeEnd;
	private Date recordTime;
	//分页查询
	private int pageIndex = 1; //默认查询第一页列表
	private PageCond pageCond;
	private int pageSize;
	private ResultWithPageCond<TempPointDataCustomizedQuery> customizedQueryPage;
	private Map<String, String> pageProjectMap;
	private Map<String, String> pageCommunityMap;
	private Map<String, String> pageBuildingMap;
	private Map<String, String> referHouseNoMap;
	//定制查询详细资料
	private IProject project;
	private ICommunity community;
	private IBuilding building;
	private int tempPointNum;
	private int tempPointDataCounter;
	//温度点数据线性图查询
	private String tempPointDataUID;
	private ITemperaturePointDataGather tempPointData;
	private ITemperaturePoint tempPoint;
	private String concentratorNo;
	private List<ITemperaturePointDataGather> tempPointDataList;
	private String chartXmlData;
	private  boolean notPage = false;
	
	/**
	 * 分页查询温度点数据定制查询列表
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-4-11
	 */
	public String queryCustomizedTpDataPage() throws Exception {
		//所属项目列表
		this.projectList = this.iProjectService.queryAllProjectInOrder();
		if(this.projectList == null) {
			this.projectList = new ArrayList<IProject>();
		}
		//所属小区列表
		if(this.projectUID!=null && !"".equals(projectUID)) {
			this.communityList = this.iCommunityService.queryCommunitysByBelongings(null, null, null, projectUID);
		} else {
			this.communityList = new ArrayList<ICommunity>();
		}
		//所属楼栋列表
		this.buildingList = this.iBuildingService.queryBuildingByBelongings(projectUID, communityUID);
		//分页信息
		this.pageCond = new PageCond();
		int start = (this.pageIndex - 1) * this.pageCond.getLimit();
		if(notPage) {
			pageCond.setLimit(1000);//结果是否需要进行分页,如果不进行分页默认返回1000个结果
		}
		this.pageCond.setStart(start);
		//设置查询的抄表日期，遵循就近一致原则
		if(this.recordTimeStart==null && this.recordTimeEnd==null) {
			this.recordTimeStart = this.recordTimeEnd = new Date();
		}
		if(this.recordTimeStart!=null && this.recordTimeEnd==null) {
			this.recordTimeEnd = this.recordTimeStart;
		}
		if(this.recordTimeStart==null && this.recordTimeEnd!=null) {
			this.recordTimeStart = this.recordTimeEnd;
		}
		this.customizedQueryPage = iTemperaturePointDataGatherService.queryCustomizedQueryPage(projectUID, 
				communityUID, buildingUID, recordTimeStart, recordTimeEnd, pageCond);
		//计算结果集的页数
		this.pageSize = new BigDecimal(this.customizedQueryPage.getPageCond().getTotal())
				.divide(new BigDecimal(this.customizedQueryPage.getPageCond().getLimit()), RoundingMode.UP).intValue();
		if(pageSize == 0) pageSize = 1;
		// 项目映射表
		this.pageProjectMap = new HashMap<String, String>();
		for (IProject project : this.projectList) {
			this.pageProjectMap.put(project.getId(), project.getProjectName());
		}
		// 小区映射表
		this.pageCommunityMap = iTemperaturePointDataGatherService.queryReferCommunitysByCustomizedList(customizedQueryPage.getList());
		//楼栋映射表
		this.pageBuildingMap = iTemperaturePointDataGatherService.queryReferBuildingsByCustomizedList(customizedQueryPage.getList());
		return "customizedPage";
	}
	
	/**
	 * 查询定制查询详细信息(依楼栋分类)
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-4-11
	 */
	public String queryCustomizedTpDataDetail() throws Exception {
		//所属楼栋
		if(buildingUID!=null && !"".equals(buildingUID)) {
			this.building = iBuildingService.queryEntityById(buildingUID);
		}
		if(building != null) {
			//所属项目
			this.project = iProjectService.queryEntityById(building.getProjectID());
			//所属小区
			this.community = iCommunityService.queryEntityById(building.getCommunityID());
		}
		//楼栋温度点数据个数
		this.tempPointDataCounter = iTemperaturePointDataGatherService.countCustomizedTpDataList(buildingUID, recordTime);
		//楼栋温度点数
		this.tempPointNum = iTemperaturePointService.countTempPointSumByBelongs(null, null, buildingUID, null);
		return "buildingTpDataDetail";
	}
	
	/**
	 * 查询楼栋温度点的抄收数据
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-4-11
	 */
	public String queryBuildingTpDataList() throws Exception {
		this.tempPointDataList = iTemperaturePointDataGatherService.queryCustomizedTpDataList(buildingUID, recordTime);
		//查询温度点数据及其统计信息
		if(tempPointDataList!=null && tempPointDataList.size()>0) {
			//查询温度点数据对应的温度点UID、房间号映射表
			this.referHouseNoMap = iTemperaturePointDataGatherService.queryReferHouseNoMap(tempPointDataList);
		}
		return "buildingTpDataList";
	}
	
	/**
	 * 查询楼栋温度点数据线性图
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-4-11
	 */
	public String queryBuildingTpDataChart() throws Exception {
		if(this.buildingUID!=null && !"".equals(this.buildingUID)) {
			this.building = iBuildingService.queryEntityById(buildingUID);
		}
		//查询温度点数据
		if(building!=null && this.recordTime!=null) {
			this.tempPointDataList = iTemperaturePointDataGatherService.queryCustomizedTpDataList(buildingUID, recordTime);
			//获取带时分秒的抄表时间
			if(tempPointDataList!=null && tempPointDataList.size()>0) {
				this.recordTime = tempPointDataList.get(0).getRecordTime();
			}
		}
		//报表标题
		StringBuffer caption = new StringBuffer("");
		caption.append("温度点数据线性分析");
		//报表标题
		StringBuffer subcaption = new StringBuffer("");
		if(building!=null || this.recordTime!=null) {
			if(building != null) {
				subcaption.append("楼栋：");
				subcaption.append(this.building.getBuildingID());
				subcaption.append(" ");
			}
			if(this.recordTime != null) {
				subcaption.append("  抄表日期：");
				subcaption.append(CalendarUtils.parseDateToString(this.recordTime, CalendarConstants.dateTimeFormat));
			}
		}
		//构造报表数据输出
		this.chartXmlData = this.generateMSLineChartXml(caption.toString(), subcaption.toString(), tempPointDataList);
//		System.out.println(chartXmlData);
		return "batchChart";
	}
	
	/**
	 * 查询单温度点数据线性图
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-3-23
	 */
	public String queryTpDataSingleChart() throws Exception {
		//查询温度点数据
		if(tempPointDataUID!=null && !"".equals(tempPointDataUID)) {
			this.tempPointData = this.iTemperaturePointDataGatherService.queryEntityById(tempPointDataUID);
			if(tempPointData != null) {
				this.tempPoint = this.iTemperaturePointService.queryTempPointBySeriousNum(tempPointData.getConcentratorNo(), tempPointData.getSeriousNum());
			}
		}
		//报表标题
		StringBuffer caption = new StringBuffer("");
		if(tempPointData != null) {
			caption.append(tempPointData.getSeriousNum() + "号");
		}
		if(tempPoint != null) {
			caption.append("[");
			caption.append(tempPoint.getHouseNo());
			caption.append("]");
		} else {
			caption.append("[无资料]");
		}
		caption.append("温度点数据线性分析");
		//报表标题
		StringBuffer subcaption = new StringBuffer("");
		if(tempPointData != null) {
			subcaption.append("集中器号：");
			subcaption.append(tempPointData.getConcentratorNo());
			subcaption.append("  抄表时间：");
			subcaption.append(CalendarUtils.parseDateToString(tempPointData.getRecordTime(), CalendarConstants.dateTimeFormat));
		}
		//构造报表数据输出
		this.chartXmlData = this.generateSingleLineChartXml(caption.toString(), subcaption.toString(), tempPointData);
//		System.out.println(chartXmlData);
		return "singleChart";
	}
	
	/**
	 * 生成单温度点数据的报表XML
	 * @param caption
	 * @param subcaption
	 * @param tempPointData
	 * @return
	 * @author Xiaopeng
	 * @date 2014-4-10
	 */
	private String generateSingleLineChartXml(String caption, String subcaption, 
			ITemperaturePointDataGather tempPointData) {
		StringBuffer chartData = new StringBuffer("<chart ");
		//标题
		chartData.append("caption='");
		chartData.append(caption);
		chartData.append("' ");
		//副标题
		if(subcaption!=null && !"".equals(subcaption)) {
			chartData.append("subcaption='(");
			chartData.append(subcaption);
			chartData.append(")' ");
		}
		//轴坐标名称设置
		chartData.append("xAxisName='基准时间' PYAxisName='温度(单位：&#8451;)' yAxisName='温度(单位：&#8451;)' ");
		//右键菜单设置
		chartData.append("showAboutMenuItem='0' showPrintMenuItem='1' unescapeLinks='0' ");
		chartData.append("exportEnabled='1' exportAtClient='1' exportHandler='fcExporter1' exportDialogMessage='正在生成,请稍候...' exportFormats='PNG=生成PNG图片|JPG=生成JPG图片|PDF=生成PDF文件' ");
		//字体样式
		chartData.append("baseFontSize='11' ");
		//折线样式
		chartData.append("lineThickness='3' anchorRadius='3' showValues='1' formatNumberScale='0' ");
		//坐标轴样式设置
		chartData.append("decimals='3' divLineAlpha='20' divLineColor='CC3300' ");
		chartData.append("divLineIsDashed='1' showAlternateHGridColor='1' alternateHGridAlpha='5' ");
		//坐标区域样式设置
		chartData.append("alternateHGridColor='CC3300' shadowAlpha='40' labelStep='1' ");
		chartData.append("numvdivlines='20' chartRightMargin='35' bgColor='FFFFFF,FFF0FF' ");
		//图例设置
		chartData.append("showLegend='1' interactiveLegend='1' legendBorderThickness='1' legendShadow='1' legendPosition='BOTTOM' legendAllowDrag='0' ");
		//设置动画效果
		chartData.append("animation='1'>");
		//24时温度数据
		if(tempPointData != null) {
			String hourTempData = this.genSingle24HoursTempData(tempPointData.getRecordTime(), tempPointData);
			chartData.append(hourTempData);
		}
		//图表样式
		chartData.append("<styles>");
		chartData.append("<definition>");
		chartData.append("<style name='Anim1' type='animation' param='_xscale' start='0' duration='1'/>");
		chartData.append("<style name='Anim2' type='animation' param='_alpha' start='0' duration='0.6'/>");
		chartData.append("<style name='DataShadow' type='Shadow' alpha='40'/>");
		chartData.append("</definition>");
		chartData.append("<application>");
		chartData.append("<apply toObject='DIVLINES' styles='Anim1'/>");
		chartData.append("<apply toObject='HGRID' styles='Anim2'/>");
		chartData.append("<apply toObject='DATALABELS' styles='DataShadow,Anim2'/>");
		chartData.append("</application>");
		chartData.append("</styles>");
		chartData.append("</chart>");
		return chartData.toString();
	}
	
	/**
	 * 查询批次上传温度点数据线性图
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-3-23
	 */
	public String queryTpDataBatchChart() throws Exception {
		//查询温度点数据
		if((this.concentratorNo!=null && !"".equals(this.concentratorNo)) && this.recordTime!=null) {
			this.tempPointDataList = iTemperaturePointDataGatherService.queryUploadBatchTempPointData(concentratorNo, recordTime);
			//获取带时分秒的抄表时间
			if(tempPointDataList!=null && tempPointDataList.size()>0) {
				this.recordTime = tempPointDataList.get(0).getRecordTime();
			}
		}
		//报表标题
		StringBuffer caption = new StringBuffer("");
		caption.append("温度点数据线性分析");
		//报表标题
		StringBuffer subcaption = new StringBuffer("");
		if((this.concentratorNo!=null && !"".equals(this.concentratorNo)) || this.recordTime!=null) {
			if(this.concentratorNo!=null && !"".equals(this.concentratorNo)) {
				subcaption.append("集中器号：");
				subcaption.append(this.concentratorNo);
				subcaption.append(" ");
			}
			if(this.recordTime != null) {
				subcaption.append("  抄表日期：");
				subcaption.append(CalendarUtils.parseDateToString(this.recordTime, CalendarConstants.dateTimeFormat));
			}
		}
		//构造报表数据输出
		this.chartXmlData = this.generateMSLineChartXml(caption.toString(), subcaption.toString(), tempPointDataList);
//		System.out.println(chartXmlData);
		return "batchChart";
	}
	
	/**
	 * 生成多温度点数据的报表XML
	 * @param caption
	 * @param subcaption
	 * @param tempPointDataList
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-4-10
	 */
	private String generateMSLineChartXml(String caption, String subcaption, 
			List<ITemperaturePointDataGather> tempPointDataList) throws Exception {
		StringBuffer chartData = new StringBuffer("<chart ");
		//标题
		chartData.append("caption='");
		chartData.append(caption);
		chartData.append("' ");
		//副标题
		if(subcaption!=null && !"".equals(subcaption)) {
			chartData.append("subcaption='(");
			chartData.append(subcaption);
			chartData.append(")' ");
		}
		//轴坐标名称设置
		chartData.append("xAxisName='基准时间' PYAxisName='温度(单位：&#8451;)' yAxisName='温度(单位：&#8451;)' ");
		//右键菜单设置
		chartData.append("showAboutMenuItem='0' showPrintMenuItem='1' unescapeLinks='0' ");
		chartData.append("exportEnabled='1' exportAtClient='1' exportHandler='fcExporter1' exportDialogMessage='正在生成,请稍候...' exportFormats='PNG=生成PNG图片|JPG=生成JPG图片|PDF=生成PDF文件' ");
		//字体样式
		chartData.append("baseFontSize='11' ");
		//折线样式
		chartData.append("lineThickness='3' anchorRadius='3' showValues='1' formatNumberScale='0' ");
		//坐标轴样式设置
		chartData.append("decimals='3' divLineAlpha='20' divLineColor='CC3300' ");
		chartData.append("divLineIsDashed='1' showAlternateHGridColor='1' alternateHGridAlpha='5' ");
		//坐标区域样式设置
		chartData.append("alternateHGridColor='CC3300' shadowAlpha='40' labelStep='1' ");
		chartData.append("numvdivlines='20' chartRightMargin='35' bgColor='FFFFFF,FFF0FF' ");
		//图例设置
		chartData.append("showLegend='1' interactiveLegend='1' legendBorderThickness='1' legendShadow='1' legendPosition='BOTTOM' legendAllowDrag='0' ");
		//设置动画效果
		chartData.append("animation='1'>");
		if(tempPointDataList != null) {
			//多系列线性图X轴标
			String categoryTags = this.genMultiLineCategory(recordTime);
			chartData.append(categoryTags);
			//多系列线性图数据报表
			for(ITemperaturePointDataGather tempPointData: tempPointDataList) {
				String datasetTags = this.genMultiLineDataset(recordTime, tempPointData);
				chartData.append(datasetTags);
			}
		}
		//图表样式
		chartData.append("<styles>");
		chartData.append("<definition>");
		chartData.append("<style name='Anim1' type='animation' param='_xscale' start='0' duration='1'/>");
		chartData.append("<style name='Anim2' type='animation' param='_alpha' start='0' duration='0.6'/>");
		chartData.append("<style name='DataShadow' type='Shadow' alpha='40'/>");
		chartData.append("</definition>");
		chartData.append("<application>");
		chartData.append("<apply toObject='DIVLINES' styles='Anim1'/>");
		chartData.append("<apply toObject='HGRID' styles='Anim2'/>");
		chartData.append("<apply toObject='DATALABELS' styles='DataShadow,Anim2'/>");
		chartData.append("</application>");
		chartData.append("</styles>");
		chartData.append("</chart>");
		return chartData.toString();
	}
	
	/**
	 * 生成单个温度点24小时的温度数据报表
	 * @param recordTime
	 * @param tempPointData
	 * @return
	 * @author Xiaopeng
	 * @date 2014-3-23
	 */
	private String genSingle24HoursTempData(Date recordTime, ITemperaturePointDataGather tempPointData) {
		StringBuffer hourTempData = new StringBuffer("");
		//获取当前抄表时间的小时值
		int currentHour = CalendarUtils.get24HourFromCal(recordTime);
		switch(currentHour) {
		case 0:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			break;
		case 1:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			break;
		case 2:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			break;
		case 3:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			break;
		case 4:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			break;
		case 5:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			break;
		case 6:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			break;
		case 7:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			break;
		case 8:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			break;
		case 9:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			break;
		case 10:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			break;
		case 11:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			break;
		case 12:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			break;
		case 13:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			break;
		case 14:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			break;
		case 15:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			break;
		case 16:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='16:00' value='");
			hourTempData.append(tempPointData.getHour16Value());
			hourTempData.append("' />");
			break;
		case 17:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='16:00' value='");
			hourTempData.append(tempPointData.getHour16Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='17:00' value='");
			hourTempData.append(tempPointData.getHour17Value());
			hourTempData.append("' />");
			break;
		case 18:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='16:00' value='");
			hourTempData.append(tempPointData.getHour16Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='17:00' value='");
			hourTempData.append(tempPointData.getHour17Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='18:00' value='");
			hourTempData.append(tempPointData.getHour18Value());
			hourTempData.append("' />");
			break;
		case 19:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='16:00' value='");
			hourTempData.append(tempPointData.getHour16Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='17:00' value='");
			hourTempData.append(tempPointData.getHour17Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='18:00' value='");
			hourTempData.append(tempPointData.getHour18Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='19:00' value='");
			hourTempData.append(tempPointData.getHour19Value());
			hourTempData.append("' />");
			break;
		case 20:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='16:00' value='");
			hourTempData.append(tempPointData.getHour16Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='17:00' value='");
			hourTempData.append(tempPointData.getHour17Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='18:00' value='");
			hourTempData.append(tempPointData.getHour18Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='19:00' value='");
			hourTempData.append(tempPointData.getHour19Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='20:00' value='");
			hourTempData.append(tempPointData.getHour20Value());
			hourTempData.append("' />");
			break;
		case 21:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='16:00' value='");
			hourTempData.append(tempPointData.getHour16Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='17:00' value='");
			hourTempData.append(tempPointData.getHour17Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='18:00' value='");
			hourTempData.append(tempPointData.getHour18Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='19:00' value='");
			hourTempData.append(tempPointData.getHour19Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='20:00' value='");
			hourTempData.append(tempPointData.getHour20Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='21:00' value='");
			hourTempData.append(tempPointData.getHour21Value());
			hourTempData.append("' />");
			break;
		case 22:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='16:00' value='");
			hourTempData.append(tempPointData.getHour16Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='17:00' value='");
			hourTempData.append(tempPointData.getHour17Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='18:00' value='");
			hourTempData.append(tempPointData.getHour18Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='19:00' value='");
			hourTempData.append(tempPointData.getHour19Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='20:00' value='");
			hourTempData.append(tempPointData.getHour20Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='21:00' value='");
			hourTempData.append(tempPointData.getHour21Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='22:00' value='");
			hourTempData.append(tempPointData.getHour22Value());
			hourTempData.append("' />");
			break;
		case 23:
			hourTempData.append("<set label='0:00' value='");
			hourTempData.append(tempPointData.getHour0Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='1:00' value='");
			hourTempData.append(tempPointData.getHour1Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='2:00' value='");
			hourTempData.append(tempPointData.getHour2Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='3:00' value='");
			hourTempData.append(tempPointData.getHour3Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='4:00' value='");
			hourTempData.append(tempPointData.getHour4Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='5:00' value='");
			hourTempData.append(tempPointData.getHour5Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='6:00' value='");
			hourTempData.append(tempPointData.getHour6Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='7:00' value='");
			hourTempData.append(tempPointData.getHour7Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='8:00' value='");
			hourTempData.append(tempPointData.getHour8Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='9:00' value='");
			hourTempData.append(tempPointData.getHour9Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='10:00' value='");
			hourTempData.append(tempPointData.getHour10Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='11:00' value='");
			hourTempData.append(tempPointData.getHour11Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='12:00' value='");
			hourTempData.append(tempPointData.getHour12Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='13:00' value='");
			hourTempData.append(tempPointData.getHour13Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='14:00' value='");
			hourTempData.append(tempPointData.getHour14Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='15:00' value='");
			hourTempData.append(tempPointData.getHour15Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='16:00' value='");
			hourTempData.append(tempPointData.getHour16Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='17:00' value='");
			hourTempData.append(tempPointData.getHour17Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='18:00' value='");
			hourTempData.append(tempPointData.getHour18Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='19:00' value='");
			hourTempData.append(tempPointData.getHour19Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='20:00' value='");
			hourTempData.append(tempPointData.getHour20Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='21:00' value='");
			hourTempData.append(tempPointData.getHour21Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='22:00' value='");
			hourTempData.append(tempPointData.getHour22Value());
			hourTempData.append("' />");
			hourTempData.append("<set label='23:00' value='");
			hourTempData.append(tempPointData.getHour23Value());
			hourTempData.append("' />");
			break;
		default:
			break;
		}
		return hourTempData.toString();
	}
	
	/**
	 * 生成复合线性图X轴标
	 * @param recordTime
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-3-23
	 */
	private String genMultiLineCategory(Date recordTime) throws Exception {
		StringBuffer categoryData = new StringBuffer("<categories>");
		//获取当前抄表时间的小时值
		int currentHour = CalendarUtils.get24HourFromCal(recordTime);
		switch(currentHour) {
		case 0:
			categoryData.append(" <category label='0:00' />");
			break;
		case 1:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			break;
		case 2:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			break;
		case 3:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			break;
		case 4:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			break;
		case 5:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			break;
		case 6:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			break;
		case 7:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			break;
		case 8:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			break;
		case 9:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			break;
		case 10:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			break;
		case 11:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			break;
		case 12:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			break;
		case 13:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			break;
		case 14:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			break;
		case 15:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			break;
		case 16:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			categoryData.append(" <category label='16:00' />");
			break;
		case 17:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			categoryData.append(" <category label='16:00' />");
			categoryData.append(" <category label='17:00' />");
			break;
		case 18:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			categoryData.append(" <category label='16:00' />");
			categoryData.append(" <category label='17:00' />");
			categoryData.append(" <category label='18:00' />");
			break;
		case 19:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			categoryData.append(" <category label='16:00' />");
			categoryData.append(" <category label='17:00' />");
			categoryData.append(" <category label='18:00' />");
			categoryData.append(" <category label='19:00' />");
			break;
		case 20:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			categoryData.append(" <category label='16:00' />");
			categoryData.append(" <category label='17:00' />");
			categoryData.append(" <category label='18:00' />");
			categoryData.append(" <category label='19:00' />");
			categoryData.append(" <category label='20:00' />");
			break;
		case 21:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			categoryData.append(" <category label='16:00' />");
			categoryData.append(" <category label='17:00' />");
			categoryData.append(" <category label='18:00' />");
			categoryData.append(" <category label='19:00' />");
			categoryData.append(" <category label='20:00' />");
			categoryData.append(" <category label='21:00' />");
			break;
		case 22:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			categoryData.append(" <category label='17:00' />");
			categoryData.append(" <category label='18:00' />");
			categoryData.append(" <category label='19:00' />");
			categoryData.append(" <category label='20:00' />");
			categoryData.append(" <category label='21:00' />");
			categoryData.append(" <category label='22:00' />");
			break;
		case 23:
			categoryData.append(" <category label='0:00' />");
			categoryData.append(" <category label='1:00' />");
			categoryData.append(" <category label='2:00' />");
			categoryData.append(" <category label='3:00' />");
			categoryData.append(" <category label='4:00' />");
			categoryData.append(" <category label='5:00' />");
			categoryData.append(" <category label='6:00' />");
			categoryData.append(" <category label='7:00' />");
			categoryData.append(" <category label='8:00' />");
			categoryData.append(" <category label='9:00' />");
			categoryData.append(" <category label='10:00' />");
			categoryData.append(" <category label='11:00' />");
			categoryData.append(" <category label='12:00' />");
			categoryData.append(" <category label='13:00' />");
			categoryData.append(" <category label='14:00' />");
			categoryData.append(" <category label='15:00' />");
			categoryData.append(" <category label='16:00' />");
			categoryData.append(" <category label='17:00' />");
			categoryData.append(" <category label='18:00' />");
			categoryData.append(" <category label='19:00' />");
			categoryData.append(" <category label='20:00' />");
			categoryData.append(" <category label='21:00' />");
			categoryData.append(" <category label='22:00' />");
			categoryData.append(" <category label='23:00' />");
			break;
		default:
			break;
		}
		categoryData.append("</categories>");
		return categoryData.toString();
	}
	
	/**
	 * 生成复合线性图单个温度点数据报表
	 * @param recordTime
	 * @param tempPointData
	 * @return
	 * @author Xiaopeng
	 * @throws Exception 
	 * @date 2014-3-23
	 */
	private String genMultiLineDataset(Date recordTime, ITemperaturePointDataGather tempPointData) throws Exception {
		StringBuffer datasetChart = new StringBuffer("");
		if(tempPointData != null) {
			datasetChart.append("<dataset seriesName='");
			datasetChart.append(tempPointData.getSeriousNum());
			ITemperaturePoint tempPoint = iTemperaturePointService.queryTempPointBySeriousNum(tempPointData.getConcentratorNo(), tempPointData.getSeriousNum());
			datasetChart.append("[");
			if(tempPoint != null) {
				datasetChart.append(tempPoint.getHouseNo());
			} else {
				datasetChart.append("无资料");
			}
			datasetChart.append("]'>");
			//获取当前抄表时间的小时值
			int currentHour = CalendarUtils.get24HourFromCal(recordTime);
			switch(currentHour) {
			case 0:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				break;
			case 1:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				break;
			case 2:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				break;
			case 3:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				break;
			case 4:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				break;
			case 5:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				break;
			case 6:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				break;
			case 7:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				break;
			case 8:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				break;
			case 9:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				break;
			case 10:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				break;
			case 11:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				break;
			case 12:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				break;
			case 13:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				break;
			case 14:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				break;
			case 15:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				break;
			case 16:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour16Value());
				datasetChart.append("' />");
				break;
			case 17:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour16Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour17Value());
				datasetChart.append("' />");
				break;
			case 18:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour16Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour17Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour18Value());
				datasetChart.append("' />");
				break;
			case 19:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour16Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour17Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour18Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour19Value());
				datasetChart.append("' />");
				break;
			case 20:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour16Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour17Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour18Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour19Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour20Value());
				datasetChart.append("' />");
				break;
			case 21:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour16Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour17Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour18Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour19Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour20Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour21Value());
				datasetChart.append("' />");
				break;
			case 22:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour16Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour17Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour18Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour19Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour20Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour21Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour22Value());
				datasetChart.append("' />");
				break;
			case 23:
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour0Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour1Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour2Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour3Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour4Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour5Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour6Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour7Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour8Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour9Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour10Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour11Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour12Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour13Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour14Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour15Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour16Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour17Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour18Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour19Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour20Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour21Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour22Value());
				datasetChart.append("' />");
				datasetChart.append("<set value='");
				datasetChart.append(tempPointData.getHour23Value());
				datasetChart.append("' />");
				break;
			default:
				break;
			}
			datasetChart.append("</dataset>");
		}
		return datasetChart.toString();
	}

		/**
	 * 导出社区温度点查询数据
	 * */
	public String exportCommunityTempPointData() throws Exception{
		notPage = true;
		queryCustomizedTpDataPage();
		IProject project = CollectionsUtils.getElement(projectList, "id", projectUID);
		ICommunity community = CollectionsUtils.getElement(communityList, "id", communityUID);
		IBuilding building = CollectionsUtils.getElement(buildingList, "id", buildingUID);
		List<TempPointDataCustomizedQuery> tempPointDataCustomizedQueries = customizedQueryPage.getList();
		//默认是本地变量
	 HSSFWorkbook heatMeasureCommunityWorkbook = new ExcelExportUtils().getTempraturePointCommunityWorkBook(project, community, building, recordTimeStart, recordTimeEnd, tempPointDataCustomizedQueries, pageProjectMap, pageCommunityMap, pageBuildingMap);
	 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
	 heatMeasureCommunityWorkbook.write(byteStream);
	 ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteStream.toByteArray());
	 setTargetFile(byteArrayInputStream);
	 String name = "社区温度点定制查询下载.xls";
//	 String newName = new String(name.getBytes("utf-8"),"iso-8859-1");
	 setOutputFileName(URLEncoder.encode(name, "utf-8"));
	 IOUtils.closeQuietly(byteStream);
	 return "downloadFile";
	}
	
	
	/**
	 * 温度点数据定制查询资料
	 * */
	public String exportTempPointDetailData() throws Exception{
		queryCustomizedTpDataDetail();
		queryBuildingTpDataList();
		//默认是本地变量
		HSSFWorkbook heatMeasureCommunityWorkbook = new ExcelExportUtils().getBuildingTempraturePointDataWorkBook(project, community, building, tempPointDataList, referHouseNoMap, recordTime, tempPointNum, tempPointDataCounter);
		//得到楼栋温度点统计
		ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
		heatMeasureCommunityWorkbook.write(byteStream);
		ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteStream.toByteArray());
		setTargetFile(byteArrayInputStream);
		String name = "温度点数据定制查询资料.xls";
//	 String newName = new String(name.getBytes("utf-8"),"iso-8859-1");
		setOutputFileName(URLEncoder.encode(name, "utf-8"));
		IOUtils.closeQuietly(byteStream);
		return "downloadFile";
	}
	
	/**
	 * @return the iTemperaturePointDataGatherService
	 */
	@JSON(serialize=false)
	public ITemperaturePointDataGatherService getiTemperaturePointDataGatherService() {
		return iTemperaturePointDataGatherService;
	}

	/**
	 * @param iTemperaturePointDataGatherService the iTemperaturePointDataGatherService to set
	 */
	public void setiTemperaturePointDataGatherService(
			ITemperaturePointDataGatherService iTemperaturePointDataGatherService) {
		this.iTemperaturePointDataGatherService = iTemperaturePointDataGatherService;
	}

	/**
	 * @return the iTemperaturePointService
	 */
	@JSON(serialize=false)
	public ITemperaturePointService getiTemperaturePointService() {
		return iTemperaturePointService;
	}

	/**
	 * @param iTemperaturePointService the iTemperaturePointService to set
	 */
	public void setiTemperaturePointService(
			ITemperaturePointService iTemperaturePointService) {
		this.iTemperaturePointService = iTemperaturePointService;
	}

	/**
	 * @return the iProjectService
	 */
	@JSON(serialize=false)
	public IProjectService getiProjectService() {
		return iProjectService;
	}

	/**
	 * @param iProjectService the iProjectService to set
	 */
	public void setiProjectService(IProjectService iProjectService) {
		this.iProjectService = iProjectService;
	}

	/**
	 * @return the iCommunityService
	 */
	@JSON(serialize=false)
	public ICommunityService getiCommunityService() {
		return iCommunityService;
	}

	/**
	 * @param iCommunityService the iCommunityService to set
	 */
	public void setiCommunityService(ICommunityService iCommunityService) {
		this.iCommunityService = iCommunityService;
	}

	/**
	 * @return the iBuildingService
	 */
	@JSON(serialize=false)
	public IBuildingService getiBuildingService() {
		return iBuildingService;
	}

	/**
	 * @param iBuildingService the iBuildingService to set
	 */
	public void setiBuildingService(IBuildingService iBuildingService) {
		this.iBuildingService = iBuildingService;
	}

	/**
	 * @return the projectList
	 */
	public List<IProject> getProjectList() {
		return projectList;
	}

	/**
	 * @param projectList the projectList to set
	 */
	public void setProjectList(List<IProject> projectList) {
		this.projectList = projectList;
	}

	/**
	 * @return the communityList
	 */
	public List<ICommunity> getCommunityList() {
		return communityList;
	}

	/**
	 * @param communityList the communityList to set
	 */
	public void setCommunityList(List<ICommunity> communityList) {
		this.communityList = communityList;
	}

	/**
	 * @return the buildingList
	 */
	public List<IBuilding> getBuildingList() {
		return buildingList;
	}

	/**
	 * @param buildingList the buildingList to set
	 */
	public void setBuildingList(List<IBuilding> buildingList) {
		this.buildingList = buildingList;
	}

	/**
	 * @return the projectUID
	 */
	public String getProjectUID() {
		return projectUID;
	}

	/**
	 * @param projectUID the projectUID to set
	 */
	public void setProjectUID(String projectUID) {
		this.projectUID = projectUID;
	}

	/**
	 * @return the communityUID
	 */
	public String getCommunityUID() {
		return communityUID;
	}

	/**
	 * @param communityUID the communityUID to set
	 */
	public void setCommunityUID(String communityUID) {
		this.communityUID = communityUID;
	}

	/**
	 * @return the buildingUID
	 */
	public String getBuildingUID() {
		return buildingUID;
	}

	/**
	 * @param buildingUID the buildingUID to set
	 */
	public void setBuildingUID(String buildingUID) {
		this.buildingUID = buildingUID;
	}

	/**
	 * @return the recordTimeStart
	 */
	public Date getRecordTimeStart() {
		return recordTimeStart;
	}

	/**
	 * @param recordTimeStart the recordTimeStart to set
	 */
	public void setRecordTimeStart(Date recordTimeStart) {
		this.recordTimeStart = recordTimeStart;
	}

	/**
	 * @return the recordTimeEnd
	 */
	public Date getRecordTimeEnd() {
		return recordTimeEnd;
	}

	/**
	 * @param recordTimeEnd the recordTimeEnd to set
	 */
	public void setRecordTimeEnd(Date recordTimeEnd) {
		this.recordTimeEnd = recordTimeEnd;
	}

	/**
	 * @return the pageIndex
	 */
	public int getPageIndex() {
		return pageIndex;
	}

	/**
	 * @param pageIndex the pageIndex to set
	 */
	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}

	/**
	 * @return the pageCond
	 */
	public PageCond getPageCond() {
		return pageCond;
	}

	/**
	 * @param pageCond the pageCond to set
	 */
	public void setPageCond(PageCond pageCond) {
		this.pageCond = pageCond;
	}

	/**
	 * @return the pageSize
	 */
	public int getPageSize() {
		return pageSize;
	}

	/**
	 * @param pageSize the pageSize to set
	 */
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	/**
	 * @return the customizedQueryPage
	 */
	public ResultWithPageCond<TempPointDataCustomizedQuery> getCustomizedQueryPage() {
		return customizedQueryPage;
	}

	/**
	 * @param customizedQueryPage the customizedQueryPage to set
	 */
	public void setCustomizedQueryPage(
			ResultWithPageCond<TempPointDataCustomizedQuery> customizedQueryPage) {
		this.customizedQueryPage = customizedQueryPage;
	}

	/**
	 * @return the pageProjectMap
	 */
	public Map<String, String> getPageProjectMap() {
		return pageProjectMap;
	}

	/**
	 * @param pageProjectMap the pageProjectMap to set
	 */
	public void setPageProjectMap(Map<String, String> pageProjectMap) {
		this.pageProjectMap = pageProjectMap;
	}

	/**
	 * @return the pageCommunityMap
	 */
	public Map<String, String> getPageCommunityMap() {
		return pageCommunityMap;
	}

	/**
	 * @param pageCommunityMap the pageCommunityMap to set
	 */
	public void setPageCommunityMap(Map<String, String> pageCommunityMap) {
		this.pageCommunityMap = pageCommunityMap;
	}

	/**
	 * @return the pageBuildingMap
	 */
	public Map<String, String> getPageBuildingMap() {
		return pageBuildingMap;
	}

	/**
	 * @param pageBuildingMap the pageBuildingMap to set
	 */
	public void setPageBuildingMap(Map<String, String> pageBuildingMap) {
		this.pageBuildingMap = pageBuildingMap;
	}

	/**
	 * @return the referHouseNoMap
	 */
	public Map<String, String> getReferHouseNoMap() {
		return referHouseNoMap;
	}

	/**
	 * @param referHouseNoMap the referHouseNoMap to set
	 */
	public void setReferHouseNoMap(Map<String, String> referHouseNoMap) {
		this.referHouseNoMap = referHouseNoMap;
	}

	/**
	 * @return the project
	 */
	public IProject getProject() {
		return project;
	}

	/**
	 * @param project the project to set
	 */
	public void setProject(IProject project) {
		this.project = project;
	}

	/**
	 * @return the community
	 */
	public ICommunity getCommunity() {
		return community;
	}

	/**
	 * @param community the community to set
	 */
	public void setCommunity(ICommunity community) {
		this.community = community;
	}

	/**
	 * @return the building
	 */
	public IBuilding getBuilding() {
		return building;
	}

	/**
	 * @param building the building to set
	 */
	public void setBuilding(IBuilding building) {
		this.building = building;
	}

	/**
	 * @return the tempPointNum
	 */
	public int getTempPointNum() {
		return tempPointNum;
	}

	/**
	 * @param tempPointNum the tempPointNum to set
	 */
	public void setTempPointNum(int tempPointNum) {
		this.tempPointNum = tempPointNum;
	}

	/**
	 * @return the tempPointDataCounter
	 */
	public int getTempPointDataCounter() {
		return tempPointDataCounter;
	}

	/**
	 * @param tempPointDataCounter the tempPointDataCounter to set
	 */
	public void setTempPointDataCounter(int tempPointDataCounter) {
		this.tempPointDataCounter = tempPointDataCounter;
	}

	/**
	 * @return the tempPointDataUID
	 */
	public String getTempPointDataUID() {
		return tempPointDataUID;
	}

	/**
	 * @param tempPointDataUID the tempPointDataUID to set
	 */
	public void setTempPointDataUID(String tempPointDataUID) {
		this.tempPointDataUID = tempPointDataUID;
	}

	/**
	 * @return the tempPointData
	 */
	public ITemperaturePointDataGather getTempPointData() {
		return tempPointData;
	}

	/**
	 * @param tempPointData the tempPointData to set
	 */
	public void setTempPointData(ITemperaturePointDataGather tempPointData) {
		this.tempPointData = tempPointData;
	}

	/**
	 * @return the tempPoint
	 */
	public ITemperaturePoint getTempPoint() {
		return tempPoint;
	}

	/**
	 * @param tempPoint the tempPoint to set
	 */
	public void setTempPoint(ITemperaturePoint tempPoint) {
		this.tempPoint = tempPoint;
	}

	/**
	 * @return the concentratorNo
	 */
	public String getConcentratorNo() {
		return concentratorNo;
	}

	/**
	 * @param concentratorNo the concentratorNo to set
	 */
	public void setConcentratorNo(String concentratorNo) {
		this.concentratorNo = concentratorNo;
	}

	/**
	 * @return the recordTime
	 */
	public Date getRecordTime() {
		return recordTime;
	}

	/**
	 * @param recordTime the recordTime to set
	 */
	public void setRecordTime(Date recordTime) {
		this.recordTime = recordTime;
	}

	/**
	 * @return the tempPointDataList
	 */
	public List<ITemperaturePointDataGather> getTempPointDataList() {
		return tempPointDataList;
	}

	/**
	 * @param tempPointDataList the tempPointDataList to set
	 */
	public void setTempPointDataList(
			List<ITemperaturePointDataGather> tempPointDataList) {
		this.tempPointDataList = tempPointDataList;
	}

	/**
	 * @return the chartXmlData
	 */
	public String getChartXmlData() {
		return chartXmlData;
	}

	/**
	 * @param chartXmlData the chartXmlData to set
	 */
	public void setChartXmlData(String chartXmlData) {
		this.chartXmlData = chartXmlData;
	}
	
}
